package com.ddwl.schema.bo.order;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import org.hibernate.validator.constraints.Range;

import javax.validation.constraints.NotNull;

/**
 * 类ShopDeliveryBo.java的实现描述：TODO
 *
 * @author zach
 * @Date :2020-12-03 19:56.
 */

@Getter
@Setter
@ApiModel("店铺商户发货")
public class ShopDeliveryBo {

    @NotNull
    @ApiModelProperty(value = "配送类型0快递1商家配送",required = true)
    @Range(min = 0,max = 1,message = "请输入正确的配送方式")
    private Integer deliveryType;
    @NotNull
    @ApiModelProperty(value = "订单ID")
    private String orderId;
    @ApiModelProperty(value = "物流公司Code")
    private String logisticsCode;
    @ApiModelProperty(value = "物流公司Name")
    private String logisticsName;
    @ApiModelProperty(value = "物流单号")
    private String logisticsNo;
    @ApiModelProperty(value = "店铺ID",hidden = true)
    private String shopId;
}
